package com.rayboo.example.design.pattern.singleton;

/**
 * 单例模式
 * http://c.biancheng.net/view/1338.html
 */
public class Main {

    public static void main(String[] args) {
        FirstPage firstPage = new FirstPage();
        firstPage.getCurrentConfigs();
        firstPage.changeFontSize("小");
        firstPage.changeChatBackground("人物");

        SecondPage secondPage = new SecondPage();
        secondPage.getCurrentConfigs();
    }
}
